package com.tea.Model.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 商品分类批量排序DTO
 */
@Data
public class CategoryBatchSortDTO {
    
    @NotEmpty(message = "排序列表不能为空")
    @Valid
    private List<CategorySortDTO> categories;
}
